import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate'
import { useAppStore } from './modules/app'

const store = createPinia()
store.use(createPersistedState())

export { store }

export { useAppStore }

export default store
